.class public Lrexsee/core/browser/RexseeUrl;
.super Ljava/lang/Object;
.source "RexseeUrl.java"

# interfaces
.implements Lrexsee/core/browser/clazz/JavascriptInterface;


# static fields
.field public static final ASSET_URL:Ljava/lang/String; = "file:///android_asset/"

.field private static final INTERFACE_NAME:Ljava/lang/String; = "Url"


# instance fields
.field private final extensionListeners:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lrexsee/core/browser/clazz/ExtensionListener;",
            ">;"
        }
    .end annotation
.end field

.field private final filterListeners:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lrexsee/core/browser/clazz/FilterListener;",
            ">;"
        }
    .end annotation
.end field

.field private final listeners:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lrexsee/core/browser/clazz/UrlListener;",
            ">;"
        }
    .end annotation
.end field

.field private final mBrowser:Lrexsee/core/browser/Browser;


# direct methods
.method public constructor <init>(Lrexsee/core/browser/Browser;)V
    .locals 8
    .param p1, "browser"    # Lrexsee/core/browser/Browser;

    .prologue
    const/4 v7, 0x4

    const/4 v6, 0x3

    const/4 v5, 0x2

    const/4 v4, 0x1

    const/4 v3, 0x0

    .line 58
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 60
    iput-object p1, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    .line 62
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lrexsee/core/browser/RexseeUrl;->listeners:Ljava/util/ArrayList;

    .line 63
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lrexsee/core/browser/RexseeUrl;->extensionListeners:Ljava/util/ArrayList;

    .line 64
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lrexsee/core/browser/RexseeUrl;->filterListeners:Ljava/util/ArrayList;

    .line 66
    new-instance v0, Lrexsee/core/browser/RexseeUrl$1;

    new-array v1, v5, [Ljava/lang/String;

    const-string v2, "htm"

    aput-object v2, v1, v3

    const-string v2, "html"

    aput-object v2, v1, v4

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$1;-><init>(Lrexsee/core/browser/RexseeUrl;[Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->addExtension(Lrexsee/core/browser/clazz/ExtensionListener;)V

    .line 85
    new-instance v0, Lrexsee/core/browser/RexseeUrl$2;

    new-array v1, v5, [Ljava/lang/String;

    const-string v2, "xml"

    aput-object v2, v1, v3

    const-string v2, "smil"

    aput-object v2, v1, v4

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$2;-><init>(Lrexsee/core/browser/RexseeUrl;[Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->addExtension(Lrexsee/core/browser/clazz/ExtensionListener;)V

    .line 118
    new-instance v0, Lrexsee/core/browser/RexseeUrl$3;

    const/4 v1, 0x5

    new-array v1, v1, [Ljava/lang/String;

    const-string v2, "php"

    aput-object v2, v1, v3

    const-string v2, "jsp"

    aput-object v2, v1, v4

    const-string v2, "txt"

    aput-object v2, v1, v5

    const-string v2, "js"

    aput-object v2, v1, v6

    const-string v2, "css"

    aput-object v2, v1, v7

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$3;-><init>(Lrexsee/core/browser/RexseeUrl;[Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->addExtension(Lrexsee/core/browser/clazz/ExtensionListener;)V

    .line 145
    new-instance v0, Lrexsee/core/browser/RexseeUrl$4;

    new-array v1, v7, [Ljava/lang/String;

    const-string v2, "jpg"

    aput-object v2, v1, v3

    const-string v2, "jpeg"

    aput-object v2, v1, v4

    const-string v2, "png"

    aput-object v2, v1, v5

    const-string v2, "gif"

    aput-object v2, v1, v6

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$4;-><init>(Lrexsee/core/browser/RexseeUrl;[Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->addExtension(Lrexsee/core/browser/clazz/ExtensionListener;)V

    .line 174
    new-instance v0, Lrexsee/core/browser/RexseeUrl$5;

    const-string v1, "http://"

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$5;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 208
    new-instance v0, Lrexsee/core/browser/RexseeUrl$6;

    const-string v1, "https://"

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$6;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 242
    new-instance v0, Lrexsee/core/browser/RexseeUrl$7;

    const-string v1, "tel:"

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$7;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 257
    new-instance v0, Lrexsee/core/browser/RexseeUrl$8;

    const-string v1, "smsto:"

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$8;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 272
    new-instance v0, Lrexsee/core/browser/RexseeUrl$9;

    const-string v1, "mailto:"

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$9;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 287
    new-instance v0, Lrexsee/core/browser/RexseeUrl$10;

    const-string v1, "javascript:"

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$10;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 297
    new-instance v0, Lrexsee/core/browser/RexseeUrl$11;

    const-string v1, "file://"

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$11;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 375
    new-instance v0, Lrexsee/core/browser/RexseeUrl$12;

    const-string v1, "content://"

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$12;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 438
    new-instance v0, Lrexsee/core/browser/RexseeUrl$13;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "://"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$13;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 448
    new-instance v0, Lrexsee/core/browser/RexseeUrl$14;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ":html"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$14;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 458
    new-instance v0, Lrexsee/core/browser/RexseeUrl$15;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ":info"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$15;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 522
    new-instance v0, Lrexsee/core/browser/RexseeUrl$16;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ":page"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$16;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 532
    new-instance v0, Lrexsee/core/browser/RexseeUrl$17;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ":about"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$17;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 542
    new-instance v0, Lrexsee/core/browser/RexseeUrl$18;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ":quit"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$18;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 552
    new-instance v0, Lrexsee/core/browser/RexseeUrl$19;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ":restart"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$19;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 562
    new-instance v0, Lrexsee/core/browser/RexseeUrl$20;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ":reload"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$20;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 572
    new-instance v0, Lrexsee/core/browser/RexseeUrl$21;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ":back"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$21;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 582
    new-instance v0, Lrexsee/core/browser/RexseeUrl$22;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ":forward"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$22;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 592
    new-instance v0, Lrexsee/core/browser/RexseeUrl$23;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ":stop"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$23;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 602
    new-instance v0, Lrexsee/core/browser/RexseeUrl$24;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ":history"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$24;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 635
    new-instance v0, Lrexsee/core/browser/RexseeUrl$25;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ":original_history"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$25;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 659
    new-instance v0, Lrexsee/core/browser/RexseeUrl$26;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ":menu"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$26;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 671
    new-instance v0, Lrexsee/core/browser/RexseeUrl$27;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ":private_file"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$27;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 681
    new-instance v0, Lrexsee/core/browser/RexseeUrl$28;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ":public_file"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$28;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 695
    new-instance v0, Lrexsee/core/browser/RexseeUrl$29;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ":home_setup"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/RexseeUrl$29;-><init>(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->add(Lrexsee/core/browser/clazz/UrlListener;)V

    .line 737
    return-void
.end method

.method static synthetic access$0(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 871
    invoke-direct {p0, p1, p2}, Lrexsee/core/browser/RexseeUrl;->formatXmlFile_(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$1(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 860
    invoke-direct {p0, p1, p2}, Lrexsee/core/browser/RexseeUrl;->formatTextFile_(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$2(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;)Lrexsee/core/browser/clazz/ExtensionListener;
    .locals 1

    .prologue
    .line 766
    invoke-direct {p0, p1}, Lrexsee/core/browser/RexseeUrl;->getExtensionByUrl(Ljava/lang/String;)Lrexsee/core/browser/clazz/ExtensionListener;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$3(Lrexsee/core/browser/RexseeUrl;)Lrexsee/core/browser/Browser;
    .locals 1

    .prologue
    .line 56
    iget-object v0, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    return-object v0
.end method

.method static synthetic access$4(Lrexsee/core/browser/RexseeUrl;)Ljava/util/ArrayList;
    .locals 1

    .prologue
    .line 53
    iget-object v0, p0, Lrexsee/core/browser/RexseeUrl;->listeners:Ljava/util/ArrayList;

    return-object v0
.end method

.method public static cleanUrl_(Ljava/lang/String;)Ljava/lang/String;
    .locals 10
    .param p0, "url"    # Ljava/lang/String;

    .prologue
    const-string v8, "/"

    .line 957
    :try_start_0
    invoke-static {p0}, Lrexsee/core/browser/RexseeUrl;->getRoot_(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    .line 958
    .local v3, "root":Ljava/lang/String;
    if-nez v3, :cond_0

    move-object v8, p0

    .line 983
    .end local v3    # "root":Ljava/lang/String;
    :goto_0
    return-object v8

    .line 959
    .restart local v3    # "root":Ljava/lang/String;
    :cond_0
    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v8

    invoke-virtual {p0, v8}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v2

    .line 960
    .local v2, "path":Ljava/lang/String;
    const-string v8, "/"

    invoke-virtual {v2, v8}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v7

    .line 961
    .local v7, "tmp":[Ljava/lang/String;
    new-instance v6, Ljava/util/Stack;

    invoke-direct {v6}, Ljava/util/Stack;-><init>()V

    .line 962
    .local v6, "stack":Ljava/util/Stack;, "Ljava/util/Stack<Ljava/lang/String;>;"
    const/4 v1, 0x0

    .local v1, "i":I
    :goto_1
    array-length v8, v7

    if-lt v1, v8, :cond_1

    .line 975
    const-string v4, ""

    .line 976
    .local v4, "rtn":Ljava/lang/String;
    const/4 v1, 0x0

    :goto_2
    invoke-virtual {v6}, Ljava/util/Stack;->size()I

    move-result v8

    if-lt v1, v8, :cond_5

    .line 980
    new-instance v8, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v9

    invoke-direct {v8, v9}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v8, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    move-object v8, v4

    .line 981
    goto :goto_0

    .line 963
    .end local v4    # "rtn":Ljava/lang/String;
    :cond_1
    aget-object v8, v7, v1

    if-nez v8, :cond_3

    .line 962
    :cond_2
    :goto_3
    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    .line 964
    :cond_3
    aget-object v8, v7, v1

    invoke-virtual {v8}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v5

    .line 965
    .local v5, "s":Ljava/lang/String;
    const-string v8, "."

    invoke-virtual {v5, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v8

    if-nez v8, :cond_2

    .line 967
    const-string v8, ".."

    invoke-virtual {v5, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v8

    if-eqz v8, :cond_4

    .line 968
    invoke-virtual {v6}, Ljava/util/Stack;->size()I

    move-result v8

    if-lez v8, :cond_2

    .line 969
    invoke-virtual {v6}, Ljava/util/Stack;->pop()Ljava/lang/Object;

    goto :goto_3

    .line 982
    .end local v1    # "i":I
    .end local v2    # "path":Ljava/lang/String;
    .end local v3    # "root":Ljava/lang/String;
    .end local v5    # "s":Ljava/lang/String;
    .end local v6    # "stack":Ljava/util/Stack;, "Ljava/util/Stack<Ljava/lang/String;>;"
    .end local v7    # "tmp":[Ljava/lang/String;
    :catch_0
    move-exception v8

    move-object v0, v8

    .local v0, "e":Ljava/lang/Exception;
    move-object v8, p0

    .line 983
    goto :goto_0

    .line 972
    .end local v0    # "e":Ljava/lang/Exception;
    .restart local v1    # "i":I
    .restart local v2    # "path":Ljava/lang/String;
    .restart local v3    # "root":Ljava/lang/String;
    .restart local v5    # "s":Ljava/lang/String;
    .restart local v6    # "stack":Ljava/util/Stack;, "Ljava/util/Stack<Ljava/lang/String;>;"
    .restart local v7    # "tmp":[Ljava/lang/String;
    :cond_4
    aget-object v8, v7, v1

    invoke-virtual {v6, v8}, Ljava/util/Stack;->push(Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_3

    .line 977
    .end local v5    # "s":Ljava/lang/String;
    .restart local v4    # "rtn":Ljava/lang/String;
    :cond_5
    if-lez v1, :cond_6

    new-instance v8, Ljava/lang/StringBuilder;

    invoke-static {v4}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v9

    invoke-direct {v8, v9}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v9, "/"

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    .line 978
    :cond_6
    new-instance v9, Ljava/lang/StringBuilder;

    invoke-static {v4}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v8

    invoke-direct {v9, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v6, v1}, Ljava/util/Stack;->elementAt(I)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Ljava/lang/String;

    invoke-virtual {v9, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v4

    .line 976
    add-int/lit8 v1, v1, 0x1

    goto :goto_2
.end method

.method private formatTextFile_(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 3
    .param p1, "url"    # Ljava/lang/String;
    .param p2, "code"    # Ljava/lang/String;

    .prologue
    const-string v2, "<br>"

    .line 861
    const-string v0, "&"

    const-string v1, "&amp;"

    invoke-virtual {p2, v0, v1}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    .line 862
    const-string v0, "<"

    const-string v1, "&lt;"

    invoke-virtual {p2, v0, v1}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    .line 863
    const-string v0, ">"

    const-string v1, "&gt;"

    invoke-virtual {p2, v0, v1}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    .line 864
    const-string v0, "\r\n"

    const-string v1, "<br>"

    invoke-virtual {p2, v0, v2}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    .line 865
    const-string v0, "\n"

    const-string v1, "<br>"

    invoke-virtual {p2, v0, v2}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    .line 866
    const-string v0, " "

    const-string v1, "&nbsp;"

    invoke-virtual {p2, v0, v1}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    .line 867
    const-string v0, "\t"

    const-string v1, "&nbsp;&nbsp;&nbsp;&nbsp;"

    invoke-virtual {p2, v0, v1}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    .line 868
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "<HTML><HEAD><TITLE>"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "</TITLE></HEAD><BODY style=\'word-break:break-all;\'>"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "</BODY></HTML>"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p2

    .line 869
    return-object p2
.end method

.method private formatXmlFile_(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 25
    .param p1, "url"    # Ljava/lang/String;
    .param p2, "code"    # Ljava/lang/String;

    .prologue
    .line 872
    const-string v13, ""

    .line 875
    .local v13, "rtn":Ljava/lang/String;
    :try_start_0
    invoke-static {}, Lorg/xmlpull/v1/XmlPullParserFactory;->newInstance()Lorg/xmlpull/v1/XmlPullParserFactory;
    :try_end_0
    .catch Lorg/xmlpull/v1/XmlPullParserException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v8

    .line 879
    .local v8, "factory":Lorg/xmlpull/v1/XmlPullParserFactory;
    const/16 v23, 0x1

    move-object v0, v8

    move/from16 v1, v23

    invoke-virtual {v0, v1}, Lorg/xmlpull/v1/XmlPullParserFactory;->setNamespaceAware(Z)V

    .line 882
    :try_start_1
    invoke-virtual {v8}, Lorg/xmlpull/v1/XmlPullParserFactory;->newPullParser()Lorg/xmlpull/v1/XmlPullParser;
    :try_end_1
    .catch Lorg/xmlpull/v1/XmlPullParserException; {:try_start_1 .. :try_end_1} :catch_1

    move-result-object v22

    .line 888
    .local v22, "xpp":Lorg/xmlpull/v1/XmlPullParser;
    :try_start_2
    new-instance v23, Ljava/io/StringReader;

    move-object/from16 v0, v23

    move-object/from16 v1, p2

    invoke-direct {v0, v1}, Ljava/io/StringReader;-><init>(Ljava/lang/String;)V

    invoke-interface/range {v22 .. v23}, Lorg/xmlpull/v1/XmlPullParser;->setInput(Ljava/io/Reader;)V
    :try_end_2
    .catch Lorg/xmlpull/v1/XmlPullParserException; {:try_start_2 .. :try_end_2} :catch_2

    .line 894
    :try_start_3
    invoke-interface/range {v22 .. v22}, Lorg/xmlpull/v1/XmlPullParser;->getEventType()I
    :try_end_3
    .catch Lorg/xmlpull/v1/XmlPullParserException; {:try_start_3 .. :try_end_3} :catch_3

    move-result v7

    .line 898
    .local v7, "eventType":I
    const/16 v17, 0x0

    .line 899
    .local v17, "uniqueID":I
    :goto_0
    const/16 v23, 0x1

    move v0, v7

    move/from16 v1, v23

    if-ne v0, v1, :cond_2

    .line 941
    const-string v23, "http://xmlpull.org/v1/doc/properties.html#xmldecl-version"

    invoke-interface/range {v22 .. v23}, Lorg/xmlpull/v1/XmlPullParser;->getProperty(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v20

    .line 942
    .local v20, "versionObject":Ljava/lang/Object;
    const-string v23, "http://xmlpull.org/v1/doc/features.html#xmldecl-standalone"

    invoke-interface/range {v22 .. v23}, Lorg/xmlpull/v1/XmlPullParser;->getProperty(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v15

    .line 943
    .local v15, "standaloneObject":Ljava/lang/Object;
    invoke-interface/range {v22 .. v22}, Lorg/xmlpull/v1/XmlPullParser;->getInputEncoding()Ljava/lang/String;

    move-result-object v6

    .line 944
    .local v6, "encodingObject":Ljava/lang/String;
    const-string v21, ""

    .line 945
    .local v21, "xml":Ljava/lang/String;
    if-nez v20, :cond_0

    if-nez v15, :cond_0

    if-eqz v6, :cond_1

    .line 946
    :cond_0
    if-nez v20, :cond_a

    const-string v23, ""

    move-object/from16 v19, v23

    .line 947
    .local v19, "version":Ljava/lang/String;
    :goto_1
    if-nez v15, :cond_b

    const-string v23, ""

    move-object/from16 v14, v23

    .line 948
    .end local v15    # "standaloneObject":Ljava/lang/Object;
    .local v14, "standalone":Ljava/lang/String;
    :goto_2
    if-nez v6, :cond_d

    const-string v23, ""

    move-object/from16 v5, v23

    .line 949
    .local v5, "encoding":Ljava/lang/String;
    :goto_3
    new-instance v23, Ljava/lang/StringBuilder;

    const-string v24, "<div style=\'white-space:nowrap;\'>&lt;?xml"

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, v23

    move-object/from16 v1, v19

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    move-object/from16 v0, v23

    move-object v1, v14

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    move-object/from16 v0, v23

    move-object v1, v5

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "?&gt;</div>"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v21

    .line 951
    .end local v5    # "encoding":Ljava/lang/String;
    .end local v14    # "standalone":Ljava/lang/String;
    .end local v19    # "version":Ljava/lang/String;
    :cond_1
    new-instance v23, Ljava/lang/StringBuilder;

    const-string v24, "<HTML><HEAD><TITLE>"

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, v23

    move-object/from16 v1, p1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "</TITLE></HEAD><BODY>"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    move-object/from16 v0, v23

    move-object/from16 v1, v21

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    move-object/from16 v0, v23

    move-object v1, v13

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "</BODY></HTML>"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v13

    move-object/from16 v23, v13

    .line 952
    .end local v6    # "encodingObject":Ljava/lang/String;
    .end local v7    # "eventType":I
    .end local v8    # "factory":Lorg/xmlpull/v1/XmlPullParserFactory;
    .end local v17    # "uniqueID":I
    .end local v20    # "versionObject":Ljava/lang/Object;
    .end local v21    # "xml":Ljava/lang/String;
    .end local v22    # "xpp":Lorg/xmlpull/v1/XmlPullParser;
    :goto_4
    return-object v23

    .line 876
    :catch_0
    move-exception v4

    .line 877
    .local v4, "e":Lorg/xmlpull/v1/XmlPullParserException;
    new-instance v23, Ljava/lang/StringBuilder;

    const-string v24, "Exception on getting XmlPullParserFactory:"

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v4}, Lorg/xmlpull/v1/XmlPullParserException;->getLocalizedMessage()Ljava/lang/String;

    move-result-object v24

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v23

    goto :goto_4

    .line 884
    .end local v4    # "e":Lorg/xmlpull/v1/XmlPullParserException;
    .restart local v8    # "factory":Lorg/xmlpull/v1/XmlPullParserFactory;
    :catch_1
    move-exception v4

    .line 885
    .restart local v4    # "e":Lorg/xmlpull/v1/XmlPullParserException;
    new-instance v23, Ljava/lang/StringBuilder;

    const-string v24, "Exception on getting XmlPullParser:"

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v4}, Lorg/xmlpull/v1/XmlPullParserException;->getLocalizedMessage()Ljava/lang/String;

    move-result-object v24

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v23

    goto :goto_4

    .line 889
    .end local v4    # "e":Lorg/xmlpull/v1/XmlPullParserException;
    .restart local v22    # "xpp":Lorg/xmlpull/v1/XmlPullParser;
    :catch_2
    move-exception v23

    move-object/from16 v4, v23

    .line 890
    .restart local v4    # "e":Lorg/xmlpull/v1/XmlPullParserException;
    new-instance v23, Ljava/lang/StringBuilder;

    const-string v24, "Exception on setInput of XmlPullParser:"

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v4}, Lorg/xmlpull/v1/XmlPullParserException;->getLocalizedMessage()Ljava/lang/String;

    move-result-object v24

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v23

    goto :goto_4

    .line 895
    .end local v4    # "e":Lorg/xmlpull/v1/XmlPullParserException;
    :catch_3
    move-exception v4

    .line 896
    .restart local v4    # "e":Lorg/xmlpull/v1/XmlPullParserException;
    new-instance v23, Ljava/lang/StringBuilder;

    const-string v24, "Exception on getEventType of XmlPullParser:"

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v4}, Lorg/xmlpull/v1/XmlPullParserException;->getLocalizedMessage()Ljava/lang/String;

    move-result-object v24

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v23

    goto :goto_4

    .line 900
    .end local v4    # "e":Lorg/xmlpull/v1/XmlPullParserException;
    .restart local v7    # "eventType":I
    .restart local v17    # "uniqueID":I
    :cond_2
    if-eqz v7, :cond_4

    .line 902
    const/16 v23, 0x1

    move v0, v7

    move/from16 v1, v23

    if-eq v0, v1, :cond_4

    .line 904
    const/16 v23, 0x2

    move v0, v7

    move/from16 v1, v23

    if-ne v0, v1, :cond_7

    .line 905
    invoke-interface/range {v22 .. v22}, Lorg/xmlpull/v1/XmlPullParser;->getName()Ljava/lang/String;

    move-result-object v16

    .line 906
    .local v16, "tagName":Ljava/lang/String;
    invoke-interface/range {v22 .. v22}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeCount()I

    move-result v3

    .line 907
    .local v3, "count":I
    new-instance v23, Ljava/lang/StringBuilder;

    const-string v24, "&lt;"

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, v23

    move-object/from16 v1, v16

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    .line 908
    .local v10, "line":Ljava/lang/String;
    const/4 v9, 0x0

    .local v9, "i":I
    :goto_5
    if-lt v9, v3, :cond_5

    .line 913
    new-instance v23, Ljava/lang/StringBuilder;

    invoke-static {v10}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v24

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v24, "&gt;"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    .line 914
    const-string v12, ""

    .line 915
    .local v12, "padding":Ljava/lang/String;
    invoke-interface/range {v22 .. v22}, Lorg/xmlpull/v1/XmlPullParser;->getDepth()I

    move-result v23

    const/16 v24, 0x1

    move/from16 v0, v23

    move/from16 v1, v24

    if-le v0, v1, :cond_3

    .line 916
    const-string v12, "padding-left:30px;"

    .line 918
    :cond_3
    new-instance v23, Ljava/lang/StringBuilder;

    invoke-static {v13}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v24

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v24, "<div id=\'title_"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    move-object/from16 v0, v23

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "\' style=\'"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    move-object/from16 v0, v23

    move-object v1, v12

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "white-space:nowrap;display:none;\' onclick=\"this.style.display=\'none\';document.getElementById(\'content_"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    move-object/from16 v0, v23

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "\').style.display=\'\';\"><span style=\'color:red;\'>+&lt;"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    move-object/from16 v0, v23

    move-object/from16 v1, v16

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "&gt;</span></div>"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v13

    .line 919
    new-instance v23, Ljava/lang/StringBuilder;

    invoke-static {v13}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v24

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v24, "<div id=\'content_"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    move-object/from16 v0, v23

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "\' style=\'"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    move-object/from16 v0, v23

    move-object v1, v12

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "white-space:nowrap;\'><span style=\'color:red;\' onclick=\"document.getElementById(\'content_"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    move-object/from16 v0, v23

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "\').style.display=\'none\';document.getElementById(\'title_"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    move-object/from16 v0, v23

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "\').style.display=\'\';\">"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    move-object/from16 v0, v23

    move-object v1, v10

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "</span>"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v13

    .line 920
    add-int/lit8 v17, v17, 0x1

    .line 936
    .end local v3    # "count":I
    .end local v9    # "i":I
    .end local v10    # "line":Ljava/lang/String;
    .end local v12    # "padding":Ljava/lang/String;
    .end local v16    # "tagName":Ljava/lang/String;
    :cond_4
    :goto_6
    :try_start_4
    invoke-interface/range {v22 .. v22}, Lorg/xmlpull/v1/XmlPullParser;->nextToken()I
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_4

    move-result v7

    goto/16 :goto_0

    .line 909
    .restart local v3    # "count":I
    .restart local v9    # "i":I
    .restart local v10    # "line":Ljava/lang/String;
    .restart local v16    # "tagName":Ljava/lang/String;
    :cond_5
    move-object/from16 v0, v22

    move v1, v9

    invoke-interface {v0, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributePrefix(I)Ljava/lang/String;

    move-result-object v23

    if-nez v23, :cond_6

    move-object/from16 v0, v22

    move v1, v9

    invoke-interface {v0, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeName(I)Ljava/lang/String;

    move-result-object v23

    move-object/from16 v11, v23

    .line 910
    .local v11, "name":Ljava/lang/String;
    :goto_7
    move-object/from16 v0, v22

    move v1, v9

    invoke-interface {v0, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(I)Ljava/lang/String;

    move-result-object v18

    .line 911
    .local v18, "value":Ljava/lang/String;
    new-instance v23, Ljava/lang/StringBuilder;

    invoke-static {v10}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v24

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v24, " "

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    move-object/from16 v0, v23

    move-object v1, v11

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "=\""

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    move-object/from16 v0, v23

    move-object/from16 v1, v18

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "\""

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    .line 908
    add-int/lit8 v9, v9, 0x1

    goto/16 :goto_5

    .line 909
    .end local v11    # "name":Ljava/lang/String;
    .end local v18    # "value":Ljava/lang/String;
    :cond_6
    new-instance v23, Ljava/lang/StringBuilder;

    move-object/from16 v0, v22

    move v1, v9

    invoke-interface {v0, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributePrefix(I)Ljava/lang/String;

    move-result-object v24

    invoke-static/range {v24 .. v24}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v24

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v24, ":"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    move-object/from16 v0, v22

    move v1, v9

    invoke-interface {v0, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeName(I)Ljava/lang/String;

    move-result-object v24

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v23

    move-object/from16 v11, v23

    goto :goto_7

    .line 921
    .end local v3    # "count":I
    .end local v9    # "i":I
    .end local v10    # "line":Ljava/lang/String;
    .end local v16    # "tagName":Ljava/lang/String;
    :cond_7
    const/16 v23, 0x3

    move v0, v7

    move/from16 v1, v23

    if-ne v0, v1, :cond_8

    .line 922
    new-instance v23, Ljava/lang/StringBuilder;

    const-string v24, "&lt;/"

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-interface/range {v22 .. v22}, Lorg/xmlpull/v1/XmlPullParser;->getName()Ljava/lang/String;

    move-result-object v24

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "&gt;"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    .line 923
    .restart local v10    # "line":Ljava/lang/String;
    new-instance v23, Ljava/lang/StringBuilder;

    invoke-static {v13}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v24

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, v23

    move-object v1, v10

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "</div>"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v13

    goto/16 :goto_6

    .line 924
    .end local v10    # "line":Ljava/lang/String;
    :cond_8
    const/16 v23, 0x4

    move v0, v7

    move/from16 v1, v23

    if-ne v0, v1, :cond_9

    .line 925
    invoke-interface/range {v22 .. v22}, Lorg/xmlpull/v1/XmlPullParser;->getText()Ljava/lang/String;

    move-result-object v10

    .line 926
    .restart local v10    # "line":Ljava/lang/String;
    new-instance v23, Ljava/lang/StringBuilder;

    invoke-static {v13}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v24

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v24, "<span style=\'white-space:normal;word-break:break-all;\'>"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    move-object/from16 v0, v23

    move-object v1, v10

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "</span>"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v13

    goto/16 :goto_6

    .line 927
    .end local v10    # "line":Ljava/lang/String;
    :cond_9
    const/16 v23, 0x5

    move v0, v7

    move/from16 v1, v23

    if-ne v0, v1, :cond_4

    .line 928
    invoke-interface/range {v22 .. v22}, Lorg/xmlpull/v1/XmlPullParser;->getText()Ljava/lang/String;

    move-result-object v10

    .line 929
    .restart local v10    # "line":Ljava/lang/String;
    const-string v23, "&"

    const-string v24, "&amp;"

    move-object v0, v10

    move-object/from16 v1, v23

    move-object/from16 v2, v24

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v10

    .line 930
    const-string v23, "<"

    const-string v24, "&lt;"

    move-object v0, v10

    move-object/from16 v1, v23

    move-object/from16 v2, v24

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v10

    .line 931
    const-string v23, ">"

    const-string v24, "&gt;"

    move-object v0, v10

    move-object/from16 v1, v23

    move-object/from16 v2, v24

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v10

    .line 932
    new-instance v23, Ljava/lang/StringBuilder;

    const-string v24, "&lt;!CDATA["

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, v23

    move-object v1, v10

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "]]&gt;"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    .line 933
    new-instance v23, Ljava/lang/StringBuilder;

    invoke-static {v13}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v24

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v24, "<span style=\'white-space:normal;word-break:break-all;\'>"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    move-object/from16 v0, v23

    move-object v1, v10

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "</span>"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v13

    goto/16 :goto_6

    .line 937
    .end local v10    # "line":Ljava/lang/String;
    :catch_4
    move-exception v4

    .line 938
    .local v4, "e":Ljava/lang/Exception;
    new-instance v23, Ljava/lang/StringBuilder;

    invoke-static {v13}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v24

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v24, "<div style=\'border:1px solid red; padding:5px; color:red;font-weight:bold;\'>Exception on parsing tag:"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual {v4}, Ljava/lang/Exception;->getLocalizedMessage()Ljava/lang/String;

    move-result-object v24

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "</div>"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v13

    goto/16 :goto_0

    .line 946
    .end local v4    # "e":Ljava/lang/Exception;
    .restart local v6    # "encodingObject":Ljava/lang/String;
    .restart local v15    # "standaloneObject":Ljava/lang/Object;
    .restart local v20    # "versionObject":Ljava/lang/Object;
    .restart local v21    # "xml":Ljava/lang/String;
    :cond_a
    new-instance v23, Ljava/lang/StringBuilder;

    const-string v24, " version=\""

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, v23

    move-object/from16 v1, v20

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "\""

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v23

    move-object/from16 v19, v23

    goto/16 :goto_1

    .line 947
    .restart local v19    # "version":Ljava/lang/String;
    :cond_b
    new-instance v23, Ljava/lang/StringBuilder;

    const-string v24, " standalone=\""

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    check-cast v15, Ljava/lang/Boolean;

    .end local v15    # "standaloneObject":Ljava/lang/Object;
    invoke-virtual {v15}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v24

    if-eqz v24, :cond_c

    const-string v24, "true"

    :goto_8
    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "\""

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v23

    move-object/from16 v14, v23

    goto/16 :goto_2

    :cond_c
    const-string v24, "false"

    goto :goto_8

    .line 948
    .restart local v14    # "standalone":Ljava/lang/String;
    :cond_d
    new-instance v23, Ljava/lang/StringBuilder;

    const-string v24, " encoding=\""

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, v23

    move-object v1, v6

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    const-string v24, "\""

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v23

    move-object/from16 v5, v23

    goto/16 :goto_3
.end method

.method private get(Ljava/lang/String;)Lrexsee/core/browser/clazz/UrlListener;
    .locals 4
    .param p1, "url"    # Ljava/lang/String;

    .prologue
    .line 741
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_0
    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl;->listeners:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-lt v0, v2, :cond_0

    .line 745
    const/4 v2, 0x0

    :goto_1
    return-object v2

    .line 742
    :cond_0
    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl;->listeners:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lrexsee/core/browser/clazz/UrlListener;

    .line 743
    .local v1, "listener":Lrexsee/core/browser/clazz/UrlListener;
    invoke-virtual {p1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v2

    iget-object v3, v1, Lrexsee/core/browser/clazz/UrlListener;->url:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1

    move-object v2, v1

    goto :goto_1

    .line 741
    :cond_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0
.end method

.method private getExtensionByUrl(Ljava/lang/String;)Lrexsee/core/browser/clazz/ExtensionListener;
    .locals 2
    .param p1, "url"    # Ljava/lang/String;

    .prologue
    .line 767
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_0
    iget-object v1, p0, Lrexsee/core/browser/RexseeUrl;->extensionListeners:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lt v0, v1, :cond_0

    .line 770
    const/4 v1, 0x0

    .end local p0    # "this":Lrexsee/core/browser/RexseeUrl;
    :goto_1
    return-object v1

    .line 768
    .restart local p0    # "this":Lrexsee/core/browser/RexseeUrl;
    :cond_0
    iget-object v1, p0, Lrexsee/core/browser/RexseeUrl;->extensionListeners:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lrexsee/core/browser/clazz/ExtensionListener;

    invoke-virtual {v1, p1}, Lrexsee/core/browser/clazz/ExtensionListener;->contains(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v1, p0, Lrexsee/core/browser/RexseeUrl;->extensionListeners:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p0

    .end local p0    # "this":Lrexsee/core/browser/RexseeUrl;
    check-cast p0, Lrexsee/core/browser/clazz/ExtensionListener;

    move-object v1, p0

    goto :goto_1

    .line 767
    .restart local p0    # "this":Lrexsee/core/browser/RexseeUrl;
    :cond_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0
.end method

.method private static getPath_(Ljava/lang/String;)Ljava/lang/String;
    .locals 5
    .param p0, "url"    # Ljava/lang/String;

    .prologue
    const-string v4, "/"

    .line 1000
    invoke-virtual {p0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v0

    .line 1001
    .local v0, "low":Ljava/lang/String;
    const-string v1, "http://"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string v1, "https://"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string v1, "file://"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 1002
    :cond_0
    new-instance v1, Ljava/lang/StringBuilder;

    const/4 v2, 0x0

    const-string v3, "/"

    invoke-virtual {p0, v4}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v3

    invoke-virtual {p0, v2, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "/"

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 1004
    :goto_0
    return-object v1

    :cond_1
    const/4 v1, 0x0

    goto :goto_0
.end method

.method private static getRoot_(Ljava/lang/String;)Ljava/lang/String;
    .locals 6
    .param p0, "url"    # Ljava/lang/String;

    .prologue
    const-string v3, "file:///android_asset/"

    const-string v5, "://"

    const-string v4, "/"

    .line 987
    invoke-virtual {p0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v0

    .line 988
    .local v0, "low":Ljava/lang/String;
    const-string v2, "http://"

    invoke-virtual {v0, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_0

    const-string v2, "https://"

    invoke-virtual {v0, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_2

    .line 989
    :cond_0
    invoke-static {p0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v1

    .line 990
    .local v1, "uri":Landroid/net/Uri;
    invoke-virtual {v1}, Landroid/net/Uri;->getPort()I

    move-result v2

    if-gez v2, :cond_1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Landroid/net/Uri;->getScheme()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, "://"

    invoke-virtual {v2, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v1}, Landroid/net/Uri;->getHost()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "/"

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 996
    .end local v1    # "uri":Landroid/net/Uri;
    :goto_0
    return-object v2

    .line 990
    .restart local v1    # "uri":Landroid/net/Uri;
    :cond_1
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Landroid/net/Uri;->getScheme()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, "://"

    invoke-virtual {v2, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v1}, Landroid/net/Uri;->getHost()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ":"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v1}, Landroid/net/Uri;->getPort()I

    move-result v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "/"

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    goto :goto_0

    .line 991
    .end local v1    # "uri":Landroid/net/Uri;
    :cond_2
    const-string v2, "file:///android_asset/"

    invoke-virtual {v0, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_3

    .line 992
    const-string v2, "file:///android_asset/"

    move-object v2, v3

    goto :goto_0

    .line 993
    :cond_3
    const-string v2, "file://"

    invoke-virtual {v0, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_4

    .line 994
    const-string v2, "file:///"

    goto :goto_0

    .line 996
    :cond_4
    const/4 v2, 0x0

    goto :goto_0
.end method


# virtual methods
.method public add(Lrexsee/core/browser/clazz/UrlListener;)V
    .locals 1
    .param p1, "listner"    # Lrexsee/core/browser/clazz/UrlListener;

    .prologue
    .line 748
    iget-object v0, p0, Lrexsee/core/browser/RexseeUrl;->listeners:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 749
    return-void
.end method

.method public addExtension(Lrexsee/core/browser/clazz/ExtensionListener;)V
    .locals 1
    .param p1, "extensionListener"    # Lrexsee/core/browser/clazz/ExtensionListener;

    .prologue
    .line 773
    iget-object v0, p0, Lrexsee/core/browser/RexseeUrl;->extensionListeners:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 774
    return-void
.end method

.method public addFilter(Lrexsee/core/browser/clazz/FilterListener;)V
    .locals 1
    .param p1, "filterListener"    # Lrexsee/core/browser/clazz/FilterListener;

    .prologue
    .line 783
    iget-object v0, p0, Lrexsee/core/browser/RexseeUrl;->filterListeners:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 784
    return-void
.end method

.method public cleanUrl(Ljava/lang/String;)Ljava/lang/String;
    .locals 1
    .param p1, "url"    # Ljava/lang/String;

    .prologue
    .line 1045
    invoke-static {p1}, Lrexsee/core/browser/RexseeUrl;->cleanUrl_(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getAbsoluteUrl(Ljava/lang/String;)Ljava/lang/String;
    .locals 1
    .param p1, "path"    # Ljava/lang/String;

    .prologue
    .line 1021
    if-nez p1, :cond_0

    const/4 v0, 0x0

    .line 1028
    :goto_0
    return-object v0

    .line 1022
    :cond_0
    iget-object v0, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/History;->getCurrentItem()Lrexsee/core/browser/clazz/HistoryItem;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 1023
    iget-object v0, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/History;->getCurrentItem()Lrexsee/core/browser/clazz/HistoryItem;

    move-result-object v0

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/HistoryItem;->getUrl()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0, p1}, Lrexsee/core/browser/RexseeUrl;->getAbsoluteUrl(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    .line 1025
    :cond_1
    iget-object v0, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->parentBrowser:Lrexsee/core/browser/Browser;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->parentBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/History;->getCurrentItem()Lrexsee/core/browser/clazz/HistoryItem;

    move-result-object v0

    if-eqz v0, :cond_2

    .line 1026
    iget-object v0, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->parentBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/History;->getCurrentItem()Lrexsee/core/browser/clazz/HistoryItem;

    move-result-object v0

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/HistoryItem;->getUrl()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0, p1}, Lrexsee/core/browser/RexseeUrl;->getAbsoluteUrl(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_2
    move-object v0, p1

    .line 1028
    goto :goto_0
.end method

.method public getAbsoluteUrl(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 4
    .param p1, "baseUrl"    # Ljava/lang/String;
    .param p2, "url"    # Ljava/lang/String;

    .prologue
    .line 1033
    if-eqz p2, :cond_0

    if-nez p1, :cond_1

    :cond_0
    const/4 v2, 0x0

    .line 1041
    :goto_0
    return-object v2

    .line 1034
    :cond_1
    const-string v2, ":"

    invoke-virtual {p2, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_2

    .line 1035
    invoke-static {p1}, Lrexsee/core/browser/RexseeUrl;->getRoot_(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 1036
    .local v1, "root":Ljava/lang/String;
    invoke-static {p1}, Lrexsee/core/browser/RexseeUrl;->getPath_(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 1037
    .local v0, "path":Ljava/lang/String;
    if-eqz v1, :cond_2

    if-eqz v0, :cond_2

    .line 1038
    const-string v2, "/"

    invoke-virtual {p2, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_3

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const/4 v3, 0x1

    invoke-virtual {p2, v3}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    move-object p2, v2

    .line 1041
    .end local v0    # "path":Ljava/lang/String;
    .end local v1    # "root":Ljava/lang/String;
    :cond_2
    :goto_1
    invoke-static {p2}, Lrexsee/core/browser/RexseeUrl;->cleanUrl_(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    goto :goto_0

    .line 1038
    .restart local v0    # "path":Ljava/lang/String;
    .restart local v1    # "root":Ljava/lang/String;
    :cond_3
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    move-object p2, v2

    goto :goto_1
.end method

.method public getContent(Ljava/lang/String;)Ljava/lang/String;
    .locals 1
    .param p1, "url"    # Ljava/lang/String;

    .prologue
    .line 830
    const-string v0, ""

    invoke-virtual {p0, p1, v0}, Lrexsee/core/browser/RexseeUrl;->getContent(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getContent(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 12
    .param p1, "url"    # Ljava/lang/String;
    .param p2, "postData"    # Ljava/lang/String;

    .prologue
    const/4 v4, 0x1

    const/4 v3, 0x0

    .line 833
    invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v11

    .line 834
    .local v11, "uri":Landroid/net/Uri;
    if-nez v11, :cond_0

    move-object v1, v3

    .line 857
    :goto_0
    return-object v1

    .line 835
    :cond_0
    invoke-virtual {v11}, Landroid/net/Uri;->getScheme()Ljava/lang/String;

    move-result-object v10

    .line 836
    .local v10, "scheme":Ljava/lang/String;
    if-nez v10, :cond_1

    move-object v1, v3

    goto :goto_0

    .line 837
    :cond_1
    invoke-virtual {v10}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v10

    .line 838
    const-string v1, "http"

    invoke-virtual {v10, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_2

    const-string v1, "https"

    invoke-virtual {v10, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    .line 839
    :cond_2
    iget-object v1, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v1, v1, Lrexsee/core/browser/Browser;->interfaceList:Lrexsee/core/browser/clazz/JavascriptInterfaceList;

    new-instance v2, Ljava/lang/StringBuilder;

    iget-object v3, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v3, v3, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v3, v3, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v3, v3, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, "Ajax"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lrexsee/core/browser/clazz/JavascriptInterfaceList;->get(Ljava/lang/String;)Lrexsee/core/browser/clazz/JavascriptInterface;

    move-result-object v0

    check-cast v0, Lrexsee/core/transportation/RexseeAjax;

    .line 840
    .local v0, "ajax":Lrexsee/core/transportation/RexseeAjax;
    if-nez v0, :cond_3

    .line 841
    iget-object v1, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/core/browser/RexseeUrl;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    const-string v3, "Ajax object is not available."

    invoke-virtual {v1, v2, v3}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    .line 842
    const-string v1, ""

    goto :goto_0

    .line 844
    :cond_3
    iget-object v1, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v1, v1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    invoke-virtual {v1}, Lrexsee/core/application/RexseeApplication;->getDefaultEncoding()Ljava/lang/String;

    move-result-object v3

    move-object v1, p1

    move-object v2, p2

    move v5, v4

    invoke-virtual/range {v0 .. v5}, Lrexsee/core/transportation/RexseeAjax;->syncSubmit(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZ)Ljava/lang/String;

    move-result-object v1

    goto :goto_0

    .line 845
    .end local v0    # "ajax":Lrexsee/core/transportation/RexseeAjax;
    :cond_4
    const-string v1, "file"

    invoke-virtual {v10, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_5

    .line 847
    :try_start_0
    new-instance v8, Ljava/io/File;

    invoke-virtual {v11}, Landroid/net/Uri;->getSchemeSpecificPart()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v8, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 849
    .local v8, "file":Ljava/io/File;
    new-instance v9, Ljava/io/FileInputStream;

    invoke-direct {v9, v8}, Ljava/io/FileInputStream;-><init>(Ljava/io/File;)V

    .line 850
    .local v9, "fileInputStream":Ljava/io/FileInputStream;
    invoke-virtual {v9}, Ljava/io/FileInputStream;->available()I

    move-result v1

    new-array v6, v1, [B

    .line 851
    .local v6, "buffer":[B
    invoke-virtual {v9, v6}, Ljava/io/FileInputStream;->read([B)I

    .line 852
    new-instance v1, Ljava/lang/String;

    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    invoke-virtual {v2}, Lrexsee/core/application/RexseeApplication;->getDefaultEncoding()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v6, v2}, Ljava/lang/String;-><init>([BLjava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto/16 :goto_0

    .line 853
    .end local v6    # "buffer":[B
    .end local v8    # "file":Ljava/io/File;
    .end local v9    # "fileInputStream":Ljava/io/FileInputStream;
    :catch_0
    move-exception v1

    move-object v7, v1

    .local v7, "e":Ljava/lang/Exception;
    move-object v1, v3

    .line 854
    goto/16 :goto_0

    .end local v7    # "e":Ljava/lang/Exception;
    :cond_5
    move-object v1, v3

    .line 857
    goto/16 :goto_0
.end method

.method public getFileExtension()Ljava/lang/String;
    .locals 1

    .prologue
    .line 1080
    iget-object v0, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/History;->getCurrentItem()Lrexsee/core/browser/clazz/HistoryItem;

    move-result-object v0

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/HistoryItem;->getUrl()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->getFileExtension(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getFileExtension(Ljava/lang/String;)Ljava/lang/String;
    .locals 1
    .param p1, "url"    # Ljava/lang/String;

    .prologue
    .line 1083
    const-string v0, "."

    invoke-virtual {p1, v0}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v0

    add-int/lit8 v0, v0, 0x1

    invoke-virtual {p1, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getFileName()Ljava/lang/String;
    .locals 1

    .prologue
    .line 1074
    iget-object v0, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/History;->getCurrentItem()Lrexsee/core/browser/clazz/HistoryItem;

    move-result-object v0

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/HistoryItem;->getUrl()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->getFileName(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getFileName(Ljava/lang/String;)Ljava/lang/String;
    .locals 1
    .param p1, "url"    # Ljava/lang/String;

    .prologue
    .line 1077
    const-string v0, "/"

    invoke-virtual {p1, v0}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v0

    add-int/lit8 v0, v0, 0x1

    invoke-virtual {p1, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getFilter(Ljava/lang/String;Ljava/lang/String;)Lrexsee/core/browser/clazz/FilterListener;
    .locals 3
    .param p1, "type"    # Ljava/lang/String;
    .param p2, "name"    # Ljava/lang/String;

    .prologue
    .line 789
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_0
    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl;->filterListeners:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-lt v0, v2, :cond_0

    .line 795
    const/4 v2, 0x0

    :goto_1
    return-object v2

    .line 790
    :cond_0
    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl;->filterListeners:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lrexsee/core/browser/clazz/FilterListener;

    .line 791
    .local v1, "listener":Lrexsee/core/browser/clazz/FilterListener;
    if-eqz p1, :cond_2

    iget-object v2, v1, Lrexsee/core/browser/clazz/FilterListener;->type:Ljava/lang/String;

    invoke-virtual {p1, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_2

    .line 789
    :cond_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 792
    :cond_2
    if-eqz p2, :cond_3

    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl;->filterListeners:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lrexsee/core/browser/clazz/FilterListener;

    iget-object v2, v2, Lrexsee/core/browser/clazz/FilterListener;->name:Ljava/lang/String;

    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    :cond_3
    move-object v2, v1

    .line 793
    goto :goto_1
.end method

.method public getFilterByUrl(Ljava/lang/String;)Lrexsee/core/browser/clazz/FilterListener;
    .locals 2
    .param p1, "url"    # Ljava/lang/String;

    .prologue
    .line 777
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_0
    iget-object v1, p0, Lrexsee/core/browser/RexseeUrl;->filterListeners:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lt v0, v1, :cond_0

    .line 780
    const/4 v1, 0x0

    .end local p0    # "this":Lrexsee/core/browser/RexseeUrl;
    :goto_1
    return-object v1

    .line 778
    .restart local p0    # "this":Lrexsee/core/browser/RexseeUrl;
    :cond_0
    iget-object v1, p0, Lrexsee/core/browser/RexseeUrl;->filterListeners:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lrexsee/core/browser/clazz/FilterListener;

    invoke-virtual {v1, p1}, Lrexsee/core/browser/clazz/FilterListener;->containsUrl(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v1, p0, Lrexsee/core/browser/RexseeUrl;->filterListeners:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p0

    .end local p0    # "this":Lrexsee/core/browser/RexseeUrl;
    check-cast p0, Lrexsee/core/browser/clazz/FilterListener;

    move-object v1, p0

    goto :goto_1

    .line 777
    .restart local p0    # "this":Lrexsee/core/browser/RexseeUrl;
    :cond_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0
.end method

.method public getFilterSizeByType(Ljava/lang/String;)I
    .locals 4
    .param p1, "type"    # Ljava/lang/String;

    .prologue
    .line 819
    const/4 v2, 0x0

    .line 820
    .local v2, "rtn":I
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_0
    iget-object v3, p0, Lrexsee/core/browser/RexseeUrl;->filterListeners:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    if-lt v0, v3, :cond_0

    .line 824
    return v2

    .line 821
    :cond_0
    iget-object v3, p0, Lrexsee/core/browser/RexseeUrl;->filterListeners:Ljava/util/ArrayList;

    invoke-virtual {v3, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lrexsee/core/browser/clazz/FilterListener;

    .line 822
    .local v1, "listener":Lrexsee/core/browser/clazz/FilterListener;
    if-eqz p1, :cond_1

    iget-object v3, v1, Lrexsee/core/browser/clazz/FilterListener;->type:Ljava/lang/String;

    invoke-virtual {p1, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_2

    :cond_1
    add-int/lit8 v2, v2, 0x1

    .line 820
    :cond_2
    add-int/lit8 v0, v0, 0x1

    goto :goto_0
.end method

.method public getFiltersByType(Ljava/lang/String;)Ljava/lang/String;
    .locals 6
    .param p1, "type"    # Ljava/lang/String;

    .prologue
    const-string v5, "\""

    .line 806
    const-string v2, ""

    .line 807
    .local v2, "rtn":Ljava/lang/String;
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_0
    iget-object v3, p0, Lrexsee/core/browser/RexseeUrl;->filterListeners:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    if-lt v0, v3, :cond_0

    .line 816
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "["

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "]"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    return-object v3

    .line 808
    :cond_0
    if-lez v0, :cond_1

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, ","

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 809
    :cond_1
    iget-object v3, p0, Lrexsee/core/browser/RexseeUrl;->filterListeners:Ljava/util/ArrayList;

    invoke-virtual {v3, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lrexsee/core/browser/clazz/FilterListener;

    .line 810
    .local v1, "listener":Lrexsee/core/browser/clazz/FilterListener;
    if-eqz p1, :cond_2

    iget-object v3, v1, Lrexsee/core/browser/clazz/FilterListener;->type:Ljava/lang/String;

    invoke-virtual {p1, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_2

    .line 807
    :goto_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 811
    :cond_2
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "{"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 812
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "\"name\":\""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v4, v1, Lrexsee/core/browser/clazz/FilterListener;->name:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "\""

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 813
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, ",\"type\":\""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v4, v1, Lrexsee/core/browser/clazz/FilterListener;->type:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "\""

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 814
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "}"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    goto :goto_1
.end method

.method public getHost()Ljava/lang/String;
    .locals 1

    .prologue
    .line 1067
    iget-object v0, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/History;->getCurrentItem()Lrexsee/core/browser/clazz/HistoryItem;

    move-result-object v0

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/HistoryItem;->getUrl()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->getHost(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getHost(Ljava/lang/String;)Ljava/lang/String;
    .locals 2
    .param p1, "url"    # Ljava/lang/String;

    .prologue
    .line 1070
    invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    .line 1071
    .local v0, "uri":Landroid/net/Uri;
    invoke-virtual {v0}, Landroid/net/Uri;->getHost()Ljava/lang/String;

    move-result-object v1

    return-object v1
.end method

.method public getInheritInterface(Lrexsee/core/browser/Browser;)Lrexsee/core/browser/clazz/JavascriptInterface;
    .locals 1
    .param p1, "childBrowser"    # Lrexsee/core/browser/Browser;

    .prologue
    .line 44
    iget-object v0, p1, Lrexsee/core/browser/Browser;->urlListeners:Lrexsee/core/browser/RexseeUrl;

    return-object v0
.end method

.method public getInterfaceName()Ljava/lang/String;
    .locals 2

    .prologue
    .line 40
    new-instance v0, Ljava/lang/StringBuilder;

    iget-object v1, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v1, v1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v1, v1, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v1, v1, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, "Url"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getNewInterface(Lrexsee/core/browser/Browser;)Lrexsee/core/browser/clazz/JavascriptInterface;
    .locals 1
    .param p1, "childBrowser"    # Lrexsee/core/browser/Browser;

    .prologue
    .line 48
    new-instance v0, Lrexsee/core/browser/RexseeUrl;

    invoke-direct {v0, p1}, Lrexsee/core/browser/RexseeUrl;-><init>(Lrexsee/core/browser/Browser;)V

    return-object v0
.end method

.method public getPath()Ljava/lang/String;
    .locals 1

    .prologue
    .line 1054
    iget-object v0, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/History;->getCurrentItem()Lrexsee/core/browser/clazz/HistoryItem;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/History;->getCurrentItem()Lrexsee/core/browser/clazz/HistoryItem;

    move-result-object v0

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/HistoryItem;->getUrl()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lrexsee/core/browser/RexseeUrl;->getPath_(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public getPath(Ljava/lang/String;)Ljava/lang/String;
    .locals 1
    .param p1, "url"    # Ljava/lang/String;

    .prologue
    .line 1057
    invoke-static {p1}, Lrexsee/core/browser/RexseeUrl;->getPath_(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getRoot()Ljava/lang/String;
    .locals 1

    .prologue
    .line 1048
    iget-object v0, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/History;->getCurrentItem()Lrexsee/core/browser/clazz/HistoryItem;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/History;->getCurrentItem()Lrexsee/core/browser/clazz/HistoryItem;

    move-result-object v0

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/HistoryItem;->getUrl()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lrexsee/core/browser/RexseeUrl;->getRoot_(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public getRoot(Ljava/lang/String;)Ljava/lang/String;
    .locals 1
    .param p1, "url"    # Ljava/lang/String;

    .prologue
    .line 1051
    invoke-static {p1}, Lrexsee/core/browser/RexseeUrl;->getRoot_(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getScheme()Ljava/lang/String;
    .locals 1

    .prologue
    .line 1060
    iget-object v0, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/History;->getCurrentItem()Lrexsee/core/browser/clazz/HistoryItem;

    move-result-object v0

    invoke-virtual {v0}, Lrexsee/core/browser/clazz/HistoryItem;->getUrl()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lrexsee/core/browser/RexseeUrl;->getScheme(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getScheme(Ljava/lang/String;)Ljava/lang/String;
    .locals 2
    .param p1, "url"    # Ljava/lang/String;

    .prologue
    .line 1063
    invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    .line 1064
    .local v0, "uri":Landroid/net/Uri;
    invoke-virtual {v0}, Landroid/net/Uri;->getScheme()Ljava/lang/String;

    move-result-object v1

    return-object v1
.end method

.method public list()Ljava/lang/String;
    .locals 5

    .prologue
    const-string v4, "\""

    .line 1011
    const-string v1, "["

    .line 1012
    .local v1, "rtn":Ljava/lang/String;
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_0
    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl;->listeners:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-lt v0, v2, :cond_0

    .line 1016
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, "]"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 1017
    return-object v1

    .line 1013
    :cond_0
    if-eqz v0, :cond_1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, ","

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 1014
    :cond_1
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, "\""

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl;->listeners:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lrexsee/core/browser/clazz/UrlListener;

    iget-object v2, v2, Lrexsee/core/browser/clazz/UrlListener;->url:Ljava/lang/String;

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "\""

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 1012
    add-int/lit8 v0, v0, 0x1

    goto :goto_0
.end method

.method public removeFilters(Ljava/lang/String;Ljava/lang/String;)V
    .locals 3
    .param p1, "type"    # Ljava/lang/String;
    .param p2, "name"    # Ljava/lang/String;

    .prologue
    .line 798
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_0
    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl;->filterListeners:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-lt v0, v2, :cond_0

    .line 804
    return-void

    .line 799
    :cond_0
    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl;->filterListeners:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lrexsee/core/browser/clazz/FilterListener;

    .line 800
    .local v1, "listener":Lrexsee/core/browser/clazz/FilterListener;
    if-eqz p1, :cond_2

    iget-object v2, v1, Lrexsee/core/browser/clazz/FilterListener;->type:Ljava/lang/String;

    invoke-virtual {p1, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_2

    .line 798
    :cond_1
    :goto_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 801
    :cond_2
    if-eqz p2, :cond_3

    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl;->filterListeners:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lrexsee/core/browser/clazz/FilterListener;

    iget-object v2, v2, Lrexsee/core/browser/clazz/FilterListener;->name:Ljava/lang/String;

    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 802
    :cond_3
    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl;->filterListeners:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    goto :goto_1
.end method

.method public run(Ljava/lang/String;Z)V
    .locals 5
    .param p1, "url"    # Ljava/lang/String;
    .param p2, "addHistory"    # Z

    .prologue
    const-string v4, ""

    .line 751
    const-string v2, " "

    const-string v3, ""

    invoke-virtual {p1, v2, v4}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string v3, ""

    invoke-virtual {v2, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 764
    :cond_0
    :goto_0
    return-void

    .line 752
    :cond_1
    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {v2}, Lrexsee/core/browser/Browser;->getContext()Landroid/content/Context;

    move-result-object v0

    .line 753
    .local v0, "context":Landroid/content/Context;
    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v2}, Lrexsee/core/browser/clazz/History;->getCurrentItem()Lrexsee/core/browser/clazz/HistoryItem;

    move-result-object v2

    if-eqz v2, :cond_2

    invoke-virtual {p0, p1}, Lrexsee/core/browser/RexseeUrl;->getAbsoluteUrl(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    .line 754
    :cond_2
    invoke-direct {p0, p1}, Lrexsee/core/browser/RexseeUrl;->get(Ljava/lang/String;)Lrexsee/core/browser/clazz/UrlListener;

    move-result-object v1

    .line 755
    .local v1, "listener":Lrexsee/core/browser/clazz/UrlListener;
    if-eqz v1, :cond_4

    .line 756
    if-eqz p2, :cond_3

    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {v1, v0, v2, p1}, Lrexsee/core/browser/clazz/UrlListener;->shouldAddToHistory(Landroid/content/Context;Lrexsee/core/browser/Browser;Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_3

    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    invoke-virtual {v2, p1}, Lrexsee/core/browser/clazz/History;->add(Ljava/lang/String;)V

    .line 757
    :cond_3
    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {v1, v0, v2, p1}, Lrexsee/core/browser/clazz/UrlListener;->run(Landroid/content/Context;Lrexsee/core/browser/Browser;Ljava/lang/String;)V

    goto :goto_0

    .line 759
    :cond_4
    new-instance v2, Ljava/lang/StringBuilder;

    iget-object v3, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v3, v3, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v3, v3, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v3, v3, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, ":"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p1, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_0

    .line 761
    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->function:Lrexsee/core/browser/RexseeBrowser;

    invoke-virtual {v2, p1}, Lrexsee/core/browser/RexseeBrowser;->loadHTML(Ljava/lang/String;)V

    goto :goto_0
.end method
